<?php namespace App\Domain\Lendhist\Model;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;



class Lendhist extends Model
{
    use Notifiable;


    protected $table = 'lendhist';

    const STATUS_0 = 0; //外借
    const STATUS_1 = 1; //还书
    const STATUS_2 = 2; //已售


    public $timestamps = false;
    public $primaryKey = 'RecordID';

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'RecordID',
        'BookID',
        'ReaderID',
        'LendDate',
        'ReturnDate',
        'LendDoorID',
        'ReturnDoorID',
        'BookState',
    ];

}